<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
<head>    
    <meta charset="utf-8">    
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">    
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">    
    <meta name="format-detection" content="telephone=no, email=no">
    <meta name="keywords" content="关键字" />
    <meta name="description" content="描述" />
    <title>首页</title>
    <link href="/wechat/Public/home/css/style.css" rel="stylesheet">
    <link rel="stylesheet" href="/wechat/Public/home/css/swiper.3.2.0.min.css" />                   
    <link rel="stylesheet" href="/wechat/Public/home/css/iconfont.css" />           
    <script src="/wechat/Public/home/js/jquery-1.11.1.min.js"></script>
    <script src="/wechat/Public/home/js/fastclick-min.js"></script>
    <script src="/wechat/Public/home/js/swiper.3.2.0.jquery.min.js"></script>
    <script src="/wechat/Public/home/js/script.js"></script> 
    <script src="/wechat/Public/layer/mobile/layer.js"></script> 
    <script src="/wechat/Public/js/ajaxfileupload.js"></script> 
    <script>
        layer.msg = function(msg,time){
            var durationTime = time ? time : 1;
            layer.open({content:msg,time:durationTime});
        }
        layer.note = function(msg,fun){
        	$('body').append('<div class="info-success">'+msg+'</div>')
        	setTimeout(function(){
        		if(fun != null){
        			$('.info-success').remove();
        			if(fun != null) fun();
        		}
        	},1200);
        }
        function toLogin(){
        	var str = '';
        	str += '<div class="fixed-bg" id="login_dialog">';
        	str += '<div class="del-goods">';
        	str += '<div class="close"><img src="/wechat/Public/home/images/close.png" onclick="$(\'#login_dialog\').remove()"></div>';
        	str += '<h3>温馨提示</h3>';
    		str += '<p>您暂时还尚未登录或注册</p>';
    		str += '<div class="clearfix del-goods-btn"><a href="<?php echo U("Login/register");?>">去注册</a><a href="<?php echo U("Login/index");?>">去登录</a></div>';
    		str += '</div>';
    		str += '</div>';
    		$('body').append(str);
        }
        function uploadImg(obj,fun){
        	var id = obj.id;
        	layer.open({type: 2});
        	$.ajaxFileUpload ({
        		 url:'<?php echo U("PicUpload/index");?>',
        		 secureuri:false,
        		 fileElementId:id,
        		 dataType: 'json',
        		 success: function (data,status){
        		 	if(fun != null)fun(data,id);
        		 	layer.closeAll();
        		 }
            });
        	return false;
        }
    </script>
</head>
<body style="[bdstyle]">




    <header class="service-desk">
        <img src="/wechat/Public/home/images/platform.jpg" />
        <a href="<?php echo U('Guide/index');?>">服务小助手</a>
    </header>
    <article class="product-recommendation">
        <h3><i class="iconfont icon-like"></i>产品推荐</h3>
        <div class="product-wrap">
            <section onclick="location.href='<?php echo U('Goods/package_detail',array('goods_id'=>'1'));?>'">
                <span>创业套餐</span>
            </section>
            <section onclick="location.href='<?php echo U('Goods/package_detail',array('goods_id'=>'5'));?>'">
                <span>菁英套餐</span>
            </section>
            <section  onclick="location.href='<?php echo U('Goods/package_detail',array('goods_id'=>'8'));?>'">
                <span>尊享套餐</span>
            </section>
            <section onclick="location.href='<?php echo U('Goods/package_detail',array('goods_id'=>'10'));?>'">
                <span>企业变更</span>
            </section>
            <section onclick="location.href='<?php echo U('Goods/goods_detail',array('goods_id'=>'114'));?>'">
                <span>开业涉税</span>
            </section>
            <section onclick="location.href='<?php echo U('Goods/package_detail',array('goods_id'=>'11'));?>'">
                <span>企业汇算清缴</span>
            </section>
             <section onclick="location.href='<?php echo U('Goods/goods_detail',array('goods_id'=>'119'));?>'">
                <span>工商年检</span>
            </section>
        </div>
    </article>
   <script>
   $(function(){
   	   var act_nav = 'index'
	   $('.foot-nav>a[name='+act_nav+']').addClass('hover')
   })
   </script>
   <footer class="flex-align clearfix foot-nav">
       <a name="index" href="<?php echo U('Index/index');?>">
           <i class="iconfont icon-shouyeshouye"></i>
           <span>首页</span>
       </a>
       <a name="goods" href="<?php echo U('Goods/index');?>">
           <i class="iconfont icon-xin"></i>
           <span>服务产品</span>
       </a>
       <a name="ucenter" href="<?php echo U('Ucenter/index');?>">
           <i class="iconfont icon-wo"></i>
           <span>会员服务</span>
       </a>
   </footer>

</body>
</html>